
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
SET(APP_NAME qClient)

find_package(Qt5 COMPONENTS Core Gui OpenGL REQUIRED)

include_directories(./)
aux_source_directory(./ SOURCES)

set(RESOURCES qClient.qrc)
#set(QMLS main.qml)
#add_executable(${PROJECT_NAME} ${HEADERS} ${SOURCES} ${RESOURCES} ${QMLS})
SET(EXECUTABLE_OUTPUT_PATH ${OUTPUT_PATH})
message(${EXECUTABLE_OUTPUT_PATH})
add_executable(${APP_NAME} ${SOURCES} ${RESOURCES})
target_link_libraries(${APP_NAME}  Qt5::Core Qt5::Gui Qt5::OpenGL netLib)